import request from '../utils/request';

export const sysRoleDeptList = query => {
    return request({
        url: '/sysRoleDept/list',
        method: 'get',
        params: query
    });
};

export const updateSysRoleDept = data => {
    return request({
        url: '/sysRoleDept/update',
        method: 'put',
        data: data
    });
};